package org.visionlibrary.image.event.executors;

import org.visionlibrary.image.event.events.TickEvent;
import org.visionlibrary.image.event.listeners.TickEventListener;

public interface TickEventExecutor {
	void addTickEventListener(TickEventListener l);
	void removeTickEventListener(TickEventListener l);
	
	public class TickEventExecutorImpl extends EventExecutor<TickEvent, TickEventListener> {
		public TickEventExecutorImpl() {
			super();
		}

		@Override
		protected void __eventExecute(TickEventListener listener, TickEvent event) {
			listener.onTickEvent(event);
		}
	}
}
